package com.felight;

import java.util.ArrayList;

public class Collections {
	public static void main(String[] Felight){
		ArrayList<Employee> empList = new ArrayList<Employee>();
		
		empList.add(new Employee(10,"Jack Sparrow"));
		empList.add(new Employee(11,"Boramir"));
		empList.add(new Employee(12,"Frodo Baggins"));
		empList.add(new Employee(13,"Gandalf"));
		empList.add(new Employee(16,"Legolas Greenleaf"));
	    System.out.println("unsorted: "+ empList);
	    Collections.sort(empList);
	    System.out.println("sortted:" + empList);
	}

	static void sort(ArrayList<Employee> empList) {
		java.util.Collections.sort(empList);
		
	
		
	}

	public static void sort(ArrayList<Employee> empList, AddressSort addressSort) {
		java.util.Collections.sort(empList);
		
	}

}
